package com.wxl.common.room.dao

import androidx.room.*
import com.wxl.common.room.entity.UnApplyBlastEntity

@Dao
interface UnApplyBlastDao {

    @Insert(onConflict= OnConflictStrategy.REPLACE )
    fun insert(vararg entity: UnApplyBlastEntity)

    @Delete
    fun delete(vararg entity: UnApplyBlastEntity)

    @Update
    fun update(vararg entity: UnApplyBlastEntity)

    @Query("select * from unApplyTable where isAuth = (:isAuth)")
    fun query(isAuth:Int) : List<UnApplyBlastEntity>
}